﻿using System;

namespace diantou.dataModel
{
    /// <summary>
    /// 企业考试邀请
    /// </summary>
    [fastCSharp.emit.jsonSerialize(IsAllMember = true)]
    [fastCSharp.emit.jsonParse(IsAllMember = true)]
    [fastCSharp.emit.dataSerialize(IsReferenceMember = false)]
    [fastCSharp.code.cSharp.webView.clientType(Name = "diantou.examInvitation")]
    [fastCSharp.code.cSharp.sqlModel]
    public partial class examInvitation
    {
        /// <summary>
        /// 企业考试邀请标识
        /// </summary>
        [fastCSharp.code.cSharp.webView.outputAjax]
        public int Id;
        /// <summary>
        /// 考试标识
        /// </summary>
        [fastCSharp.emit.dataMember(PrimaryKeyIndex = 1)]
        public int ExamId;
        /// <summary>
        /// 邮箱/手机
        /// </summary>
        [fastCSharp.emit.dataMember(PrimaryKeyIndex = 2, IsAscii = true, MaxStringLength = 256)]
        public string EmailMobile;
        /// <summary>
        /// 手机号
        /// </summary>
        public long Mobile;
        /// <summary>
        /// 姓名
        /// </summary>
        [fastCSharp.emit.dataMember(MaxStringLength = 32)]
        public string Name;
        /// <summary>
        /// 邀请超时
        /// </summary>
        public DateTime Timeout;
        /// <summary>
        /// 验证码
        /// </summary>
        public ulong VerifyCode;

        /// <summary>
        /// 注册用户标识
        /// </summary>
        [fastCSharp.emit.dataMember(IsIgnoreCurrent = true)]
        public int UserId;
    }
}
